package com.platform.springcloud;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * 服务消费者 : 7001
 */
@EnableFeignClients(basePackages = "com.platform.springcloud.api")
@ComponentScan("com.platform.springcloud")
@EnableDiscoveryClient
@SpringBootApplication()
public class CloudConsumer7001Application {

    public static void main(String[] args) {
        SpringApplication.run(CloudConsumer7001Application.class, args);
    }

}
